<script>
    var maxIndex = 0;
    var info = null;
    {% if interviewerArr is defined %}
        maxIndex = {{ maxIndex }};
        info     = {{ interviewerArr | json_encode }};
    {% endif %}
</script>
<table class="table">
    <tbody>
    <tr class="info">
        <th style="">名称</th>
        <th>面试负责人</th>
    </tr>
    <tr class="interviewer">
       <td>面试(1)</td>
       <td>
           <input type="hidden" name="iHIId">
           <input type="hidden" name="iIndex" value="1">
           <input type="hidden" name="iSourceId" value="{{ sourceId }}">
           <select name="iInterviewer" class="form-control" style="width: 300px;">
                <option value="">请选择</option>
               {% for id,text in staffArr %}
                   <option value="{{ id }}">{{ text }}</option>
               {% endfor %}
           </select>
       </td>
    </tr>
    <tr class="interviewer">
        <td>面试(2)</td>
        <td>
            <input type="hidden" name="iHIId">
            <input type="hidden" name="iIndex" value="2">
            <input type="hidden" name="iSourceId" value="{{ sourceId }}">
            <select name="iInterviewer" class="form-control" style="width: 300px;">
                <option value="">请选择</option>
                {% for id,text in staffArr %}
                    <option value="{{ id }}">{{ text }}</option>
                {% endfor %}
            </select>
        </td>
    </tr>
    <tr class="interviewer">
        <td>面试(3)</td>
        <td>
            <input type="hidden" name="iHIId">
            <input type="hidden" name="iIndex" value="3">
            <input type="hidden" name="iSourceId" value="{{ sourceId }}">
            <select name="iInterviewer" class="form-control" style="width: 300px;">
                <option value="">请选择</option>
                {% for id,text in staffArr %}
                    <option value="{{ id }}">{{ text }}</option>
                {% endfor %}
            </select>
        </td>
    </tr>
    <tr id="buttonBefore">
        <td colspan="2"><a id="addInterviewer" class="btn btn-default pull-right">新增面试</a></td>
    </tr>
    </tbody>
</table>